<?php

namespace mpend\modules\commission\controllers;

use Yii;
use yii\web\Controller;

/**
 * LogsController
 *
 * @author emhome<emhome@163.com>
 * @since 2.0
 */
class LogsController extends Controller {

    /**
     * Renders the index view for the module
     * @return string
     */
    public function actionIndex() {
        return $this->render('index');
    }

    /**
     * Renders the index view for the module
     * @return string
     */
    public function actionList() {
        $this->layout = false;
        $name = Yii::$app->request->get('name');
        $page = Yii::$app->request->get('page');
        $data = [];
        return $this->render('list', [
            'name' => $name,
            'page' => $page,
            'data' => $data,
        ]);
    }

}
